<template>
	<view class="content b-t">
		<view class="list b-b" v-for="(item, index) in addressList" :key="index" @click="checkAddress(item)">
			<view class="wrapper">
				<view class="address-box">
					<text v-if="item.FDefault==1" class="tag">默认</text>
					<text class="address">{{item.FPrCityArea}} {{item.FAddress}}</text>
				</view>
				<view class="u-box">
					<text class="name">{{item.FConsignee}}</text>
					<text class="mobile">{{item.FPhone}}</text>
				</view>
			</view>
			<text class="yticon icon-iconfontshanchu1" @click.stop="deleteAddress(item)"></text>
			<text class="yticon icon-bianji" @click.stop="addAddress('edit', item)"></text>
		</view>
		<!-- <text style="display:block;padding: 16upx 30upx 10upx;lihe-height: 1.6;color: #fa436a;font-size: 24upx;">
			重要：添加和修改地址回调仅增加了一条数据做演示，实际开发中将回调改为请求后端接口刷新一下列表即可
		</text> -->
		
		<!-- <button class="add-btn" @click="addAddress('add')">新增地址</button> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
